﻿<ContextMenuZone>
    <ContextMenuList></ContextMenuList>
    <ContextMenu>
        <ContextMenuItem Icon="fa-solid fa-copy" Text="拷贝" OnClick="OnCopy"></ContextMenuItem>
        <ContextMenuItem Icon="fa-solid fa-paste" Text="粘贴" OnClick="OnPaste"></ContextMenuItem>
    </ContextMenu>
</ContextMenuZone>

@code {
    private Task OnCopy(ContextMenuItem item, object value)
    {
        return Task.CompletedTask;
    }

    private Task OnPaste(ContextMenuItem item, object value)
    {
        return Task.CompletedTask;
    }
}
